  <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                       Profile
                        <small>Control Panel</small>
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                        <li><a href="#">Profile</a></li>
                        <li class="active">Manage</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
					<div class="col-md-6">
						 <div class="box box-warning">
							<div class="box-header">
                                    <h3 class="box-title">Add Advertisement Information</h3>
                             </div><!-- /.box-header -->
							<div class="box-body">
							<?php echo form_open_multipart('admin/profile/edit'); ?>
							 <div class="form-group">
								<img class='profile-pic img-circle'  src="<?php echo site_url('images/admin/'.$admin->profile_pic); ?>" />
							 </div>
							 <div class="form-group">
								<label>Change Profile Picture</label>
								<input type="file" name='profile_pic' accept='image/*' id="exampleInputFile">
								<p class="help-block">If you want to change you profile image, Please upload your photo here.</p>
                            </div>
							<div class="form-group">
								<label>Username</label>
								<input type='text' class='form-control' readonly name='username' value='<?php echo $admin->username; ?>' />
							 </div>
							 <div class="form-group">
								<label>Password(If you like to change your password just type your new password!)</label>
								<input type='password' class='form-control' name='password' value='<?php echo $admin->password; ?>' />
							 </div>
							 <div class="form-group">
								<label>First Name</label>
								<input type='text' class='form-control' name='fname' value='<?php echo $admin->fname; ?>' />
							 </div>
							 <div class="form-group">
								<label>Last Name</label>
								<input type='text' class='form-control' name='lname' value='<?php echo $admin->lname; ?>' />
							 </div>
							 <div class="form-group">
								<label>Position</label>
								<input type='text' class='form-control' name='position' value='<?php echo $admin->position; ?>' />
							 </div>
							 <div class="form-group">
								<label>Name Caption</label>
								<input type='text' class='form-control' name='name_caption' value='<?php echo $admin->name_caption; ?>' />
							 </div>
							 <div class="form-group">
								<button type='submit' class='btn btn-primary'><span class='glyphicon glyphicon-pencil'></span> Update</button>
							 </div>
							 <?php echo  form_close();?>
							 </div><!-- /.box-body -->
							 
						</div>
					</div>
                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->